﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/AgentMaster.Master"
    AutoEventWireup="true" CodeBehind="UpdateYourDetail.aspx.cs" Inherits="whatpricemyhouse.agent.UpdateYourDetail" %>

<%@ Register Src="~/Controller/RegionSelector.ascx" TagName="RegionSelector" TagPrefix="uc1" %>
<%@ Register Src="~/Controller/PlaceSelector.ascx" TagName="PlaceSelector" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">

        function mouseOver1(theObj) {
            theObj.src = "../images/button/save_changes-w.png";
        }
        function mouseOut1(theObj) {
            theObj.src = "../images/button/save_changes.png";
        }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:LoginView ID="LoginView2" runat="server">
        <RoleGroups>
            <asp:RoleGroup Roles="agent">
                <ContentTemplate>
                    <div class="updateDetail">
                        <asp:Label ID="Label1" runat="server" Text="Agent Area : " CssClass="largeHeaderStep"></asp:Label>
                        <asp:Label ID="Label2" runat="server" Text="My Detail" CssClass="largeHeaderTitle"></asp:Label>
                        <div class="hrHolder">
                            <hr />
                        </div>
                        <div class="updateDetailHolder">
                            <div class="updateDetailHeader">
                            </div>
                            <div class="theArea">
                                <div class="firstName">
                                    First Name:<br />
                                    <asp:TextBox ID="firstNameTxt" runat="server"></asp:TextBox>
                                </div>
                                <div class="surname">
                                    Surname:<br />
                                    <asp:TextBox ID="sureNameTxt" runat="server"></asp:TextBox>
                                </div>
                                <div class="businessName">
                                    Business Name:<br />
                                    <asp:TextBox ID="businessNameTxt" runat="server"></asp:TextBox>
                                </div>
                                <div class="address">
                                    Address:<br />
                                    <asp:TextBox ID="addressNameTxt" runat="server"></asp:TextBox>
                                </div>
                                <div class="suburb">
                                    Suburb:<br />
                                    <asp:TextBox ID="suburbTxt" runat="server"></asp:TextBox>
                                </div>
                                <div class="region">
                                    Region:<br />
                                    <uc1:RegionSelector ID="regionSelector" runat="server" />
                                </div>
                                <div class="postCode">
                                    Place / Post Code:<br />
                                    <uc1:PlaceSelector ID="placeSelector1" runat="server" />
                                    |
                                    <uc1:PlaceSelector ID="placeSelector2" runat="server" />
                                    |
                                    <uc1:PlaceSelector ID="placeSelector3" runat="server" />
                                </div>
                                <div class="country">
                                    Country:<br />
                                    <asp:DropDownList ID="countryDDL" runat="server">
                                        <asp:ListItem>New Zealand</asp:ListItem>
                                        <asp:ListItem>Australia</asp:ListItem>
                                    </asp:DropDownList>
                                </div>
                                <div class="mobile">
                                    Mobile:<br />
                                    <asp:TextBox ID="moblieTxt" runat="server" />
                                </div>
                                <div class="phone">
                                    Phone:<br />
                                    <asp:TextBox ID="phoneTxt" runat="server" />
                                </div>
                                <div class="fax">
                                    Fax:<br />
                                    <asp:TextBox ID="faxTxt" runat="server" />
                                </div>
                                <div class="email">
                                    Email:<br />
                                    <asp:TextBox ID="emailTxt" runat="server" />
                                </div>
                                <div class="website">
                                    Website:<br />
                                    <asp:TextBox ID="websiteTxt" runat="server" />
                                </div>
                                <div class="autoReport">
                                    Auto Reports:<br />
                                    <asp:DropDownList ID="autoReportDDL" runat="server">
                                        <asp:ListItem Value="0">Sent Manual Report Only</asp:ListItem>
                                        <asp:ListItem Value="1">Send Auto Report Only</asp:ListItem>
                                    </asp:DropDownList>
                                </div>
                                <div class="autoSummary">
                                    Auto Summary:<br />
                                    <asp:DropDownList ID="autoSummaryDDL" runat="server">
                                        <asp:ListItem Value="1">include</asp:ListItem>
                                        <asp:ListItem Value="0">no-include</asp:ListItem>
                                    </asp:DropDownList>
                                </div>

                                <div class="changePassword">
                                    <asp:HyperLink ID="ChangePasswordLink" runat="server" NavigateUrl="~/agent/ChangePassword.aspx">Change Password</asp:HyperLink>
                                </div>
                            </div>
                            <div class="theAreadFooter">
                            </div>
                            <div class="button">
                                <br />
                                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/save_changes.png"
                                    OnClick="ImageButton1_Click" /><br />
                            </div>
                        </div>
                    </div>
                </ContentTemplate>
            </asp:RoleGroup>
        </RoleGroups>
    </asp:LoginView>
</asp:Content>
